package cn.dnui_lf_705.dnui_16110100705.service;

import java.util.List;


import cn.dnui_lf_705.dnui_16110100705.bean.ResultBean;
import cn.dnui_lf_705.dnui_16110100705.bean.ShopBean;
import cn.dnui_lf_705.dnui_16110100705.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ShopServer {
    @GET("getAllShops.do")
    Call<List<ShopBean>>getAllShops();
//获取当前店铺详情
    @GET("getShopById.do")
    Call<ShopBean>getShopById(@Query("shop_id") String shop_id);

    @GET("getUserById.do")
    Call<UserBean>getUserById(@Query("user_id") String user_id);

    @GET("insertOrder.do")
    Call<ResultBean>insertOrder(@Query("user_id") String user_id, @Query("food_id") String food_id, @Query("num") String num, @Query("sum") String sum, @Query("suggesttime") String suggesttime, @Query("address") String address);
}
